<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:U('Admin/News/detail')}">新闻详情</a></li>
		</ul>

		<a href='{:U("Admin/News/del",array("newsId"=>number_format($vo["newsId"],0,'',''),"status"=>0))}' class="js-ajax-dialog-btn" data-msg="确定启用吗？">启用</a>
		&nbsp;&nbsp;&nbsp;&nbsp;
		<a href='{:U("Admin/News/del",array("newsId"=>number_format($vo["newsId"],0,'',''),"status"=>1))}' class="js-ajax-dialog-btn" data-msg="确定禁用吗？">禁用</a>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		当前状态：<eq name="data.status" value="1">禁用<else/>启用</eq>
		<hr/>
		<h4>{$data.newsTitle}</h4>
		<hr/>
		<span><a href="{:U('Admin/News/shang',array("newsId"=>number_format($vo["newsId"],0,'','')))}"><b>打赏收入:23232</b></a>&nbsp;&nbsp;&nbsp;&nbsp;<b>阅读量:23232</b>&nbsp;&nbsp;&nbsp;&nbsp;<b>收藏量:23232</b>&nbsp;&nbsp;&nbsp;&nbsp;<b>评论数:{$data.commentMount|default=0}</b></span>
		<hr/>
		<div>
			<img src="{$data.newsUrl}" width="300" height="300"/></br>
			{$data.newsContent|nl2br}
		</div>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
	<script>
	$(document).ready(function(){
		$('input[name="query_form_btn"]').click(function(){
			 $('#query_form').attr('action', $(this).attr('data-action'));
			 $('#query_form').submit();
		});
		
	});
	</script>
</body>
</html>